package com.lagou.sqlSession;

import com.lagou.com.lagou.pojo.Configuration;
import com.lagou.com.lagou.pojo.MappedStatement;

import java.util.List;

public interface Executor {

    <E> List<E> executeQuery(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

    int executeCUD(Configuration configuration, MappedStatement mappedStatement, Object[] params) throws Exception;

}
